SciChart.Drawing Assembly > System.Windows.Media.Imaging Namespace > WriteableBitmapExtensions Class > FillPolygon Method : FillPolygon(WriteableBitmap,Int32[],Func<Int32,Int32,Int32>,BlendMode) Method
The WriteableBitmap.
The points of the polygon in x and y pairs, therefore the array is interpreted as (x1, y1, x2, y2, ..., xn, yn).
The color for the fill.
The blend mode. Default is Alpha
FillPolygon(WriteableBitmap,Int32[],Func<Int32,Int32,Int32>,BlendMode) Method
Draws a filled polygon. Add the first point also at the end of the array if the line should be closed.
Syntax

Parameters

bmp
The WriteableBitmap.
points
The points of the polygon in x and y pairs, therefore the array is interpreted as (x1, y1, x2, y2, ..., xn, yn).
colorCb
The color for the fill.
blendMode
The blend mode. Default is Alpha
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also